package com.fx.mapper;

import com.fx.entity.UserAddress;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * 
 * @author yfl
 * @email 617823298@qq.com
 * @date 2018-06-19 16:13:33
 */
@Mapper
@Component
public interface UserAddressMapper {

	UserAddress getById(String flName);
	
	List<UserAddress> queryList(Map<String, Object> map);
	
	int queryCount(Map<String, Object> map);
	
	int save(UserAddress userAddress);
	
	int updateById(UserAddress userAddress);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<UserAddress> queryListByUserId(String userId);
}
